<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
  <title></title>
</head>
<body>
<form action="doreg.php" method="post">
  <table>
    <caption>开心网注册</caption>
    <tr>
      <td><label for="username">电子邮箱：</label></td>
      <td><input type="text" name="username" id="username"
      required></td>
    </tr>

    <tr>
      <td><label for="pw">创建密码：</label></td>
      <td><input type="password" name="pw" id="pw"
      required></td>
    </tr>

    <tr>
      <td><label for="pw">姓名：</label></td>
      <td><input type="password" name="pw" id="pw"
      required></td>
    </tr>

    <tr>
      <td><label for="sex">性别</label></td>
      <td><input type="radio" name="sex" id="sex" value="男" 
      checked="">男
      <input type="radio" name="sex" id="sex" value="女">女
      </td>
    </tr>
    <tr>
      <td>生日</td>
      <td><input type="date" name="birthdate"></td>
    </tr>

    <tr>
      <td><label for="sex">我现在：</label></td>
      <td><input type="radio" name="sex" id="sex" value="在工作" 
      >在工作</td>
      <input type="radio" name="sex" id="sex" value="在上学">在上学
      </td>
      <input type="radio" name="sex" id="sex" value=其他>其他
      </td>
      
    </tr>

    
    <tr>
      <td><label for="intro">居住地：</label></td>
      <td><label for="intro">大连</label></td>
      
    </tr>
    
    <tr>
      <td colspan="2">
      <input type="submit" value="提交">
      <input type="reset" value="重置">
        
      </td>
    </tr>
  </table>
  
</form>

</body>
</html>